#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
using Cephei.QL;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! helper class building a sequence of digital ibor-rate coupons
	/// </summary>
    [Guid ("51287757-5393-44e4-95C5-4D586B3AB688"),ComVisible(true)]
	public interface IDigitalCmsLeg 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg InArrears(Microsoft.FSharp.Core.FSharpOption<Boolean> flag);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithCallATM(Microsoft.FSharp.Core.FSharpOption<Boolean> flag);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithCallPayoffs(Cephei.Core.IVector<Double> payoffs);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithCallStrikes(Cephei.Core.IVector<Double> strikes);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithFixingDays(Cephei.Core.IVector<UInt32> fixingDays);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithGearings(Cephei.Core.IVector<Double> gearings);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithLongCallOption(QL.Position.TypeEnum type);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithLongPutOption(QL.Position.TypeEnum type);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithNotionals(Cephei.Core.IVector<Double> notionals);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithPaymentAdjustment(QL.Times.BusinessDayConventionEnum convention);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithPaymentDayCounter(Cephei.QL.Times.IDayCounter dayCounter);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithPutATM(Microsoft.FSharp.Core.FSharpOption<Boolean> flag);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithPutPayoffs(Cephei.Core.IVector<Double> payoffs);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithPutStrikes(Cephei.Core.IVector<Double> strikes);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithReplication(Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Cashflows.IDigitalReplication> replication);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IDigitalCmsLeg WithSpreads(Cephei.Core.IVector<Double> spreads);
    }   

    /// <summary> 
	/// ! helper class building a sequence of digital ibor-rate coupons Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IDigitalCmsLeg_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IDigitalCmsLeg Create (Cephei.QL.Times.ISchedule schedule, Cephei.QL.Indexes.ISwapIndex index);
    }
}

